package dayu.dao;

import dayu.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.Set;

/**
 * @author dayu
 * @create 2018/12/12 15:05
 * @Description
 */
public interface UserDao {
    void insert(@Param("loginName") String loginName,@Param("password") String password);

    User selectUserByLoginName(String loginName);

    Set<String> selectRolesByLoginName(String loginName);

    Set<String> selectPermissionsByLoginName(String loginName);
}
